How to set type for () = dispatch(action) in typescript

join shbcf.ru